#ifndef OBSERVABLE_H
#define OBSERVABLE_H

#define MAX_OBSERVERS 4

class Observer;

class Observable {
public:
  Observable();
  void addObserver(Observer *o);
  void notifyObservers();
private:
  int numObservers;
  Observer* observers[MAX_OBSERVERS];
};

#endif
  
